package com.hyc.gchatsystem.medel;

import java.util.List;

/**
 * @projectName: gchatsystem
 * @package: com.hyc.gchatsystem.medel
 * @className: GroupModel
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/4/20 14:05
 * @version: 1.0
 */

public class GroupModel {
    private String id;
    private String name;
    //用户群组
    private List<UserModel> users;

    public GroupModel(String id, String name, List<UserModel> users) {
        this.id = id;
        this.name = name;
        this.users = users;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<UserModel> getUsers() {
        return users;
    }

    public void setUsers(List<UserModel> users) {
        this.users = users;
    }
}
